C code for PESetNthTableLocation

The following code demonstrates how to use the PESetNthTableLocation function to set a new location for a table in the report:

short            tableN;
    // The table number in the report
struct PETableLocation location;
tableN = 0;
    // The first table in the report
    // Initialize values in location structure
location.StructSize = PE_SIZEOF_TABLE_LOCATION;
location.Location = "C:\\TABLES\\mydb.mdb";
if (!PESetNthTableLocation(Job, tableN, &location)){
    // Handle error
}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com